//
//  NSString+encode.h
//  helper
//
//  Created by huangyi on 12-10-29.
//  Copyright (c) 2012年 huangyi. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSString (encode)

-(NSString*)base64;
-(NSData*)base64decode;

-(NSString*)urlencode;
-(NSString*)urldecode;

-(NSString*)stringToHexString;
-(NSString*)stringFromHexString;

@end
